package day5;

import java.util.Arrays;
import java.util.Random;


public class Homework {
    public static void main(String[] args) {
        char ch2[]=new char[4];
        String[] str=new String[5];
        Random rd=new Random();
        for (int j=0;j<5;j++){
            for (int i=0;i<ch2.length;i++){
                int num=(char)rd.nextInt(26)+97;
                ch2[i]= (char) num;
            }
            String str1=new String(ch2);
            str[j]=str1;
        }
        System.out.println("字符串数组为："+ Arrays.toString(str));
    }
}
